<%@ page language="java"  import="pos.domain.*,java.util.*" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>casa</title>
<style type="text/css">
body {
	background-color:#4F4F4F
}
div {
	background-color:#CD5A24;
	margin-right:300px;
	margin-left: 200px;
	color: #333;
}
</style>
</head>
<body>
<%
	String pid=request.getParameter("pid");
System.out.println("pid antes de manager"+pid);
	PropertyManager pm = new PropertyManager();
	Property p = new Property();
	p = pm.selectProperty(pid);
%>
	<tr>	
	 <td>--</td>
     <td> <%=p.getAddress()%> </td>
     <td> <%=p.getCountry()%> </td>
	</tr>

 	 <fieldset>
	 <legend  style="font-family: Arial,sans-serif; font-size: 18px; color: #660000">acciones</legend>
	 <table>
	 <td>
				<form action="FrontController?res=elegirMiCasa.jsp?pid=<%=request.getParameter("pid")%>" method="post"> 
				<input type="submit" value="Enviar Peticion">
				</form>
			
				<form action="FrontController?res=BuscarCasa.jsp" method="post">
				<input type="submit" value="Seguir Buscando">
				</form>
			</td>

</table>
</fieldset>
</body>
</html>